package com.xyy.saas.payment.common;

import java.time.LocalDate;
import java.util.Set;

/**
 * 近三个月节假日 prev current next
 *
 * @author wangzeqi
 */
public interface HolidayService {

    void refreshHolidayCache(LocalDate localDate);

    boolean isHoliday(LocalDate localDate);

    Set<Integer> getHolidaysOfMonth(LocalDate day);

    LocalDate getNearestPrevWorkday(LocalDate date);

}
